﻿using System;
using System.Threading.Tasks;
using VisionCloud.Core.Model.Ms;

namespace VisionCloud.Domain.Repository.Interface.Ms
{
    public interface IMsManualMeasureSummaryItemsRepository : IBaseRepository<MsManualMeasureSummaryItems>
    {
        /// <summary>
        /// 录入汇总数据否
        /// </summary>
        /// <param name="taskId">任务Id</param>
        /// <returns></returns>
        Task<bool> HasMeasureItemSummryData(Guid taskId);

        /// <summary>
        /// 根据任务任务Id删除数据
        /// </summary>
        /// <param name="taskId">任务Id</param>
        /// <returns></returns>
        Task RemoveMeasureItemSummryData(Guid taskId);
    }
}